package com.lykj.modules.shop.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * UserOrderExcel
 *
 * @author cxl
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class UserOrderExcel implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 订单编号
	 */
	@ExcelProperty(value = "订单ID")
	private String id;
	/**
	 * 用户ID
	 */
	@ExcelProperty(value = "用户ID")
	private String userId;
	/**
	 * 用户姓名
	 */
	@ExcelProperty(value = "用户姓名")
	private String contacts;
	/**
	 * 用户电话
	 */
	@ExcelProperty(value = "用户电话")
	private String mobile;
	/**
	 * 详细地址
	 */
	@ExcelProperty(value = "详细地址")
	private String shippingAddress;
	/**
	 * 商品ID
	 */
	@ExcelProperty(value = "商品ID")
	private String productId;
	/**
	 * 众鸟商品ID
	 */
	@ExcelProperty(value = "众鸟商品ID")
	private String znCommodityId;
	/**
	 * 商品标题
	 */
	@ExcelProperty(value = "商品标题")
	private String productTitle;
	/**
	 * 商品总pv值
	 */
	@ExcelProperty(value = "商品总pv值")
	private BigDecimal pvTotalPrice;
	/**
	 * 商品总数
	 */
	@ExcelProperty(value = "商品总数")
	private Integer totalNum;
	/**
	 * 订单总价
	 */
	@ExcelProperty(value = "订单总价（不含运费）")
	private BigDecimal totalPrice;
	/**
	 * 实际支付金额（含运费）
	 */
	@ExcelProperty(value = "实际支付金额（含运费）")
	private BigDecimal payPrice;
	/**
	 * 支付时间
	 */
	@ExcelProperty(value = "支付时间")
	private Date payTime;
	/**
	 * 支付方式0平台余额1平台积分2众鸟余额
	 */
	@ExcelProperty(value = "支付方式0平台余额1平台积分2众鸟余额")
	private Integer payType;
	/**
	 * 快递公司编号
	 */
	@ExcelProperty(value = "快递公司编号")
	private String deliverySn;
	/**
	 * 快递公司名称
	 */
	@ExcelProperty(value = "快递公司名称")
	private String deliveryName;
	/**
	 * 快递单号
	 */
	@ExcelProperty(value = "快递单号")
	private String deliveryId;
	/**
	 * 时间
	 */
	@ExcelProperty(value = "时间")
	private String createTime;
}
